<script type="text/javascript">
$(function(){
	$("input:button,input:submit,input:reset").button();

	$("#home_btn1").click(function() {
		var st = "#t24";
		if($(st).html() != null ) {
			maintab.tabs('select',st);
		} else {
			maintab.tabs('add',st, "test1");
			$(st,"#tabs").load("../system/role_manage.jsp");
		}
	});


	$("#home_btn2").click(function() {
		var st = "#t25";
		if($(st).html() != null ) {
			maintab.tabs('select',st);
		} else {
			maintab.tabs('add',st, "test2");
			$(st,"#tabs").load("hotel/room_occupancy_manage.html");
		}
	});

	$("#home_btn3").click(function() {
		var st = "#t26";
		if($(st).html() != null ) {
			maintab.tabs('select',st);
		} else {
			maintab.tabs('add',st, "test3");
			$(st,"#tabs").load("hotel/check_in.html");
		}
	});

	$("#home_btn4").click(function() {
		var st = "#t25";
		if($(st).html() != null ) {
			maintab.tabs('select',st);
		} else {
			maintab.tabs('add',st, "test4");
			$(st,"#tabs").load("hotel/room_occupancy_manage.html");
		}
	});
});
</script>
<br/>
<table>
	<tr>
		<td>
			<input type="button" id="home_btn1" value="test1"/>
		</td>
		<td>
			<input type="button" id="home_btn2" value="test2"/>
		</td>
	</tr>
		<tr>
		<td>
			<input type="button" id="home_btn3" value="test3"/>
		</td>
		<td>
			<input type="button" id="home_btn4" value="test4"/>
		</td>
	</tr>
</table>